Statistical Debugging of Sampled Programs
نویسندگان
چکیده
We present a novel strategy for automatically debugging programs given sampled data from thousands of actual user runs. Our goal is to pinpoint those features that are most correlated with crashes. This is accomplished by maximizing an appropriately defined utility function. It has analogies with intuitive debugging heuristics, and, as we demonstrate, is able to deal with various types of bugs that occur in real programs.
منابع مشابه
Statistical Software Debugging
Statistical Software Debugging by Alice Xiaozhou Zheng Doctor of Philosophy in Engineering-Electrical Engineering and Computer Science University of California, Berkeley Professor Michael I. Jordan, Chair Statistical debugging is a combination of statistical machine learning and software debugging. Given sampled run-time profiles from both successful and failed runs, our task is to select a sma...
متن کاملAntSM: Efficient Debugging for Shared Memory Parallel Programs
This paper describes AntSM, a system that uses the inherent parallelism of multi-threaded programs to reduce the overhead of statistical and invariant violations detection-based debugging tools. The runtime monitoring of these tools leads to high overheads. The key insight of the AntSM system is that this overhead can be reduced in parallel programs by performing sampled monitoring across paral...
متن کاملProgrammers Should Still Use Slices When Debugging
What is the best technique for fault localization? In a study of 37 real bugs (and 37 injected faults) in more than a dozen open source C programs, we compare the effectiveness of statistical debugging against dynamic slicing—the first study ever to compare the techniques. On average, dynamic slicing is more effective than statistical debugging, requiring programmers to examine only 14% (42 lin...
متن کاملStatistical Debugging in the Presence of Multiple Errors
We present a statistical debugging algorithm that operates on very sparsely sampled data drawn from large numbers of user runs. By identifying program behaviors that significantly increase the likelihood of failure, our technique helps guide software engineers to the most significant flaws in an application. The approach has connections to statistical hypothesis testing and is validated using s...
متن کاملPii: S0360-1315(98)00063-3
This study reported the research ®ndings on improving programming skills of novice programmers by way of debugging practices. There were two objectives of the debugging training: (1) to uncover and to correct any misconceptions of the programmers; and (2) to improve the debugging abilities of the programmers. To meet these objectives, a model of debugging practices, DebugIt, was presented. The ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2003